

document.addEventListener('DOMContentLoaded', function() {
	console.log("anzerwall");
	document.getElementById("anzerwall_button").addEventListener('click', function(event) {

		console.log("anzerwall111111111");

		var num = $('.num').val();
//		var html = '<span class="pos" > <span class="line S_line1" > <i class = "S_txt2" > 阅读 ' + num + '万 < /i>&nbsp;推广 < /span></span >';
		
		
		var jss = "";
//		jss = '$("[action-type=fl_favorite]").text('" + html + "')'
		var html = '<span class="pos" > <span class="line S_line1" > <i class = "S_txt2" > 阅读  555万 < /i>&nbsp;推广 < /span></span >';
	
		jss = '$("[node-type=favorite_btn_text]").html("阅读 '+num+'万 &nbsp;&nbsp;                                                                                                                            推广                                                                            ")'
	
		chrome.tabs.executeScript(null, {
			code: jss
		});
	});

});